package com.nativetalk.common.util;

import com.nativetalk.base.RetInfo;
import net.sf.json.JSONObject;

/**
 * Created by lizhun on 16/6/19.
 */
public class BeanToJson {
    public static String RetInfoToJson(RetInfo retInfo) {
        return JSONObject.fromObject(retInfo).toString() +"\n";
    }
}
